<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>北京联合大学</title>
</head>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://at.alicdn.com/t/font_835526_xufba1hg66.css">
<link rel="stylesheet" href="../../css/Initialization.css">
<link rel="stylesheet" href="../../css/commen.css">
<link rel="shortcut icon" href="../../imgs/bitbug_favicon.ico" type="image/x-icon">
<body>
<header id='header'>
    <div class="headerleft">
        <img src="../../imgs/1572951588(1).jpg" alt="">
        <span>北京联合大学国际商务综合实训系统--管理端</span>
    </div>
    <div class="headerright">
        <span>欢迎</span>
        <span> <i class="iconfont icon-user"></i>  </span>
        <span style="margin-right: 10px;" th:text="${person.realname}">李国庆 同学</span>
        <a href="exit" style="color: #fff!important;"><span><i class="iconfont icon-tuichu"></i> </span><span> 退出</span></a>
    </div>
</header>
<div id="content">
    <div class="conmenu">
        <div class="father fatheractive">
            <div class="title">
                <img src="../../imgs/1572951389(1).jpg" alt="">
                <span>管理配置</span>
                <i class="iconfont icon-xiala"></i>
            </div>
            <div class="sons">
                <div class="son"><a target="main_cont" href="person/teacherlist">教师信息管理</a></div>
                <div class="son"><a target="main_cont" href="depart/list">学年课程管理</a></div>
                <div class="son"><a target="main_cont" href="depart/classlist">班级设置管理</a></div>
                <div class="son"><a target="main_cont" href="depart/stuclasslist">学生信息管理</a></div>
                <!--<div class="son active"><a target="main_cont" href="depart/list">组织架构配置</a></div>
                <div class="son"><a target="main_cont" href="person/teacherlist">老师管理</a></div>-->
            </div>
        </div>
        <div class="father">
            <div class="title">
                <img src="../../imgs/1572951464(1).jpg" alt="">
                <span>我的信息</span>
                <i class="iconfont icon-xiala"></i>
            </div>
            <div class="sons">
                <div class="son"><a target="main_cont" href="person/changepass">修改密码</a></div>
                <div class="son"><a href="exit">退出系统</a></div>
            </div>
        </div>
    </div>
    <div class="cont_right">
        <div class="initer">
            <iframe width="100%" frameborder="0" scrolling="auto" src="person/teacherlist" id="main_cont" name="main_cont"></iframe>
        </div>
    </div>
</div>
<div id="footer">
    <span>-</span>
    <span>BEJING UNION UNIVERSITY SOFTWARE SYSTEM. POWER BY RHHY.NET</span>
    <span>-</span>
</div>
<script src="../../js/jquery-3.4.1.min.js"></script>
<script src="../../js/commen.js"></script>
<script>
    /**
     * 自定义iframe高度
     */
    function changeFrameHeight(){
        var iframe = document.getElementById('main_cont');
        var height = window.parent.document.documentElement.scrollHeight;//获取父页面高度减去差值
        iframe.onload = function() { //w3c判断加载
            var temph = $(document.body).height();
            $('iframe').css({
                minHeight:temph >= 500 ? temph : height
            })
        }
    }
    window.onresize=function(){ changeFrameHeight();}
    $(function(){
        changeFrameHeight();
    });
</script>
</body>
</html>

